package demo.common.persistence;

import java.util.List;

public interface BaseDao<T> {

    T get(String id);

    T get(T entity);

    List<T> findList(T entity);

    List<T> findAllList(T entity);

    int insert(T entity);

    int update(T entity);

    int delete(T entity);
}
